package com.itheima;

import com.itheima.domain.Equipment;

public class Demo {
    public static void main(String[] args) {
        //浅克隆
        //深克隆
        Equipment e1 = new Equipment();
        e1.setName("霸气剑");

        Equipment e2 = new Equipment();
        e2.setName("木剑");


        System.out.println(e1.getName());
        System.out.println(e2.getName());

    }
}
